import { getCar } from "@/network/shopcar"
const actions={
updateCar({commit}){
    getCar().then(res=>{
        commit('addCar',{count:res.data.length || 0})
    })
}
}
export default actions